home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 045a / tpapi1.zip / NWBINDRY.PA1 < prev    next >
Text File  |  1991-12-04  |  8KB  |  129 lines

  1. {!R! FONT 15; FTMD 15; EXIT;}
  2.  
  3.  
  4. {***************************************************************************}
  5. {** Program : NWBINDRY                                                    **}
  6. {***************************************************************************}
  7. {** Version : 1.0b            ** Started : 11/11/91  ** ENDed :   /  /    **}
  8. {***************************************************************************}
  9. {******************************** Description ******************************}
  10. {***************************************************************************}
  11. {** OOP library for Netware API                                           **}
  12. {**                                                                       **}
  13. {** This unit forms the second level object : BINDERY                     **}
  14. {** This object is a descandent of          : NETWARE                     **}
  15. {**                                                                       **}
  16. {**                                                                       **}
  17. {**                                                                       **}
  18. {**                                                                       **}
  19. {***************************************************************************}
  20. {******************************** Information ******************************}
  21. {***************************************************************************}
  22. {**                                                                       **}
  23. {**                                                                       **}
  24. {**                                                                       **}
  25. {**                                                                       **}
  26. {** This code is (c) 1991 Tony Covelli,                                   **}
  27. {** Portions (c) Novell Inc,                                              **}
  28. {**                                                                       **}
  29. {**                                                                       **}
  30. {***************************************************************************}
  31.  
  32. {$I NETWARE.INC}
  33.  
  34. UNIT NWBINDRY;
  35.  
  36. INTERFACE
  37.  
  38. USES
  39.  
  40.   netware, nwvar;
  41.  
  42. TYPE
  43.  
  44.   pBinderyOBJ = ^BinderyOBJ;
  45.   BinderyOBJ  = object (NetwareOBJ)
  46.  
  47.     constructor Init;
  48.     FUNCTION    MemberBinderyCall             (BinderyFunctionNumber : WORD; BinderyObjectName : ObjectNameType;
  49.                                                BinderyObjectType : OT_BinderyType; PropertyName : PropertyNameType;
  50.                                                MemberName : ObjectNameType; MemberType : OT_BinderyType) : WORD;
  51.     
  52.     FUNCTION    AddBinderyObjectToSet         (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  53.                                                PropertyName : PropertyNameType; MemberName : ObjectNameType;
  54.                                                MemberType : OT_BinderyType) : WORD;
  55.  
  56.     FUNCTION    ChangeBinderyObjectPassword   (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  57.                                                OldPassword, NewPassword : PasswordType) : WORD;
  58.  
  59.     FUNCTION    ChangeBinderyObjectSecurity   (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  60.                                                NewObjectSecurity : BYTE) : WORD;
  61.  
  62.     FUNCTION    ChangePropertySecurity        (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  63.                                                PropertyName : PropertyNameType; NewPropertySecurity : BYTE) : WORD;
  64.  
  65.     FUNCTION    CloseBindery : WORD;
  66.  
  67.     FUNCTION    CreateBinderyObject           (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  68.                                                ObjectFlags, ObjectSecurity : BYTE) : WORD;
  69.  
  70.     FUNCTION    CreateProperty                (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  71.                                                PropertyName : PropertyNameType; PropertyFlags, PropertySecurity : BYTE) : WORD;
  72.  
  73.     FUNCTION    DeleteBinderyObject           (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType) : WORD;
  74.  
  75.     FUNCTION    DeleteBinderyObjectFromSet    (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  76.                                                PropertyName : PropertyNameType; MemberName : ObjectNameType;
  77.                                                MemberType : OT_BinderyType) : WORD;
  78.  
  79.     FUNCTION    DeleteProperty                (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  80.                                                PropertyName : PropertyNameType) : WORD;
  81.  
  82.     FUNCTION    GetBinderyAccessLevel         (VAR SecurityAccessLevel : BYTE; VAR ObjectID : OT_BinderyID) : WORD;
  83.  
  84.     FUNCTION    GetBinderyObjectID            (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  85.                                                VAR ObjectID : OT_BinderyID) : WORD;
  86.  
  87.     FUNCTION    GetBinderyObjectName          (ObjectID : OT_BinderyID; VAR BinderyObjectName : ObjectNameType;
  88.                                                VAR BinderyObjectType : OT_BinderyType) : WORD;
  89.  
  90.     FUNCTION    IsBinderyObjectInSet          (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  91.                                                PropertyName : PropertyNameType; MemberName : ObjectNameType;
  92.                                                MemberType : OT_BinderyType) : WORD;
  93.  
  94.     FUNCTION    OpenBindery : WORD;
  95.  
  96.     FUNCTION    ReadPropertyValue             (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  97.                                                PropertyName : PropertyNameType; SegmentNumber : WORD;
  98.                                                VAR PropertyValue : PropertyValueType; VAR MoreSegments,
  99.                                                PropertyFlags : BYTE) : WORD;
  100.  
  101.     FUNCTION    RenameBinderyObject           (BinderyObjectName, NewBinderyObjectName : ObjectNameType;
  102.                                                BinderyObjectType : OT_BinderyType) : WORD;
  103.  
  104.     FUNCTION    ScanBinderyObject             (SearchObjectName : ObjectNameType; SearchObjectType : OT_BinderyType;
  105.                                                VAR ObjectID : OT_BinderyID; VAR BinderyObjectName : ObjectNameType;
  106.                                                VAR BinderyObjectType : OT_BinderyType;
  107.                                                VAR ObjectHasProperties, ObjectFlags, ObjectSecurity : BYTE) : WORD;
  108.  
  109.     FUNCTION    ScanBinderyObjectTrusteePaths (ObjectID : OT_BinderyID; VolumeNumber : BYTE;
  110.                                                VAR SequenceNumber : WORD; VAR TrusteeAccessMask : WORD;
  111.                                                VAR TrusteePathName : PathNameType) : WORD;
  112.  
  113.     FUNCTION    ScanProperty                  (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  114.                                                SearchPropertyName : PropertyNameType; VAR SequenceNumber : LONGINT;
  115.                                                VAR PropertyName : PropertyNameType; VAR PropertyFlags, PropertySecurity,
  116.                                                PropertyHasValue, MoreProperties : BYTE) : WORD;
  117.  
  118.     FUNCTION    VerifyBinderyObjectPassword   (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  119.                                                Password : PasswordType) : WORD;
  120.  
  121.     FUNCTION    WritePropertyValue            (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
  122.                                                PropertyName : PropertyNameType; SegmentNumber : WORD;
  123.                                                PropertyValue : PropertyValueType; MoreSegments : BYTE) : WORD;
  124.  
  125.     destructor  Done; virtual;
  126.  
  127.   END;
  128.  
  129.